
#ifndef _DRV_UART_H_
#define _DRV_UART_H_

#include <stdio.h>
#include "stm32f10x.h"

#define MAX_DEV_UART_RCV_LEN    128

extern unsigned char usartTxBuf[128];
extern unsigned char usartRxBuf[128];

extern uint8_t usartTxCounter[6];
extern uint8_t usartTxDataCnt[6];

extern uint8_t uart1_rx_size;
extern uint8_t uart2_rx_size;
extern uint8_t uart3_rx_size;
extern uint8_t uart4_rx_size;
extern uint8_t uart5_rx_size;

extern uint8_t u1_data;


extern void usart_init(void);


#endif
